/**
 * 文件功能描述: 客户端启动入口
 */
import { createApp } from '@/app.js'

const cookie = { token: 123 }

const { app, router, store } = createApp(cookie)

router.onReady(() => {
  if (window.__INITIAL_STATE__) {
    store.replaceState(window.__INITIAL_STATE__)
  }
  app.$mount('#app')
})
